/**
 * @filename:BoxingService Jan 9, 2024
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.service;
import com.wonder.app.domain.Boxing;
import com.wonder.app.request.BoxingRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**   
 * @Description:TODO(波形程序管理服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface BoxingService extends IService<Boxing> {

    
    /**
     * 验证波形程序管理信息
     * 
     * @param boxing
     * @param type
     * @return 结果
     */
    public String validate(Boxing boxing,String type);   
   
	
	 /**
	 * Description:波形程序管理分页返回
	 * @param request//检索条件
	 * @param page//分页参数
	 * @return IPage<Boxing>   //分页记录
	 */
    public IPage<Boxing> selectList(BoxingRequest request, Page<Boxing> page);


	boolean boxingTiJiao(Long fid);
	boolean boxingCheXiao(Long fid);

	boolean boxingShenHe(Long fid);
	boolean boxingFanShenHe(Long fid);

	/**
	 * 根据key获取波形列表
	 * @param key
	 * @param pageSize
	 * @return
	 */
    Map<String,Object> getBoXingByKey(String key, int pageSize);
}
